package com.mipo.clazztype;

public class Main2 {
	public static void main(String[] args) throws Exception {
		A a = new A();
		B b = new B();
		
		
		Class<A> c1 = (Class<A>) a.getClass();
		A bbb  = c1.newInstance();
		
		
		
		c1.getAnnotations();
		System.out.println(c1);
		Class c2 = c1.getClass();
		
		
		
		
		
		
		
//		B b = new B();
//		boolean isEqual2 = (a.getClass() == B.class);
//		boolean isEqual3 = (A.class == B.class);
//		System.out.println(isEqual2); // false
//		System.out.println(isEqual3); // false
		
		
	}
	
}

class A {
	
}

class B extends A {
	
}



